<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.google.gson.TreeTypeAdapter&lt; T &gt;类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1google.html">google</a></li><li class="navelem"><a class="el" href="namespacecom_1_1google_1_1gson.html">gson</a></li><li class="navelem"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html">TreeTypeAdapter< T ></a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.google.gson.TreeTypeAdapter&lt; T &gt;类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.google.gson.TreeTypeAdapter&lt; T &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.png" usemap="#com.google.gson.TreeTypeAdapter&lt; T &gt;_map" alt=""/>
  <map id="com.google.gson.TreeTypeAdapter&lt; T &gt;_map" name="com.google.gson.TreeTypeAdapter&lt; T &gt;_map">
<area href="classcom_1_1google_1_1gson_1_1_type_adapter_3_01_t_01_4.html" alt="com.google.gson.TypeAdapter&lt; T &gt;" shape="rect" coords="0,0,353,24"/>
<area href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4_1_1_single_type_factory.html" alt="com.google.gson.TreeTypeAdapter&lt; T &gt;.SingleTypeFactory" shape="rect" coords="0,112,353,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4_1_1_single_type_factory.html">SingleTypeFactory</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ad653128568997696c1d4c53ee0122208"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#ad653128568997696c1d4c53ee0122208">read</a> (<a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_reader.html">JsonReader</a> in)  throws IOException </td></tr>
<tr class="separator:ad653128568997696c1d4c53ee0122208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02885df33eb7bbc6a6dcbbc5682e4490"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a02885df33eb7bbc6a6dcbbc5682e4490">write</a> (<a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_writer.html">JsonWriter</a> out, T value)  throws IOException </td></tr>
<tr class="separator:a02885df33eb7bbc6a6dcbbc5682e4490"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a6ef99b228bcfe95dbdf9d7ba5fb6c65b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a6ef99b228bcfe95dbdf9d7ba5fb6c65b">newFactory</a> (TypeToken&lt;?&gt; exactType, Object typeAdapter)</td></tr>
<tr class="separator:a6ef99b228bcfe95dbdf9d7ba5fb6c65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7036cbc9f37d7c1a41e078693d42af25"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a7036cbc9f37d7c1a41e078693d42af25">newFactoryWithMatchRawType</a> (TypeToken&lt;?&gt; exactType, Object typeAdapter)</td></tr>
<tr class="separator:a7036cbc9f37d7c1a41e078693d42af25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a955ffdeaf902a27407fd545b98479ba2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a955ffdeaf902a27407fd545b98479ba2">newTypeHierarchyFactory</a> (Class&lt;?&gt; hierarchyType, Object typeAdapter)</td></tr>
<tr class="separator:a955ffdeaf902a27407fd545b98479ba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:ab452517ce22ee3709c0cd418767988cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#ab452517ce22ee3709c0cd418767988cc">TreeTypeAdapter</a> (JsonSerializer&lt; T &gt; <a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a42fdc957d41a30db58e7345e73167f47">serializer</a>, JsonDeserializer&lt; T &gt; <a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#aea5ae0725e3e694b7c1f13cf6f272834">deserializer</a>, <a class="el" href="classcom_1_1google_1_1gson_1_1_gson.html">Gson</a> <a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#afced6d7fe053cb47c3f01a8bd6b39e00">gson</a>, TypeToken&lt; T &gt; <a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a8596612f02ca5e00365af9c53c0af3d5">typeToken</a>, <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a> <a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#ad211cba2932f3eee8a9d5b04eddd6f80">skipPast</a>)</td></tr>
<tr class="separator:ab452517ce22ee3709c0cd418767988cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7702932c97d532aec82e29778bc777a3"><td class="memItemLeft" align="right" valign="top">TypeAdapter&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a7702932c97d532aec82e29778bc777a3">delegate</a> ()</td></tr>
<tr class="separator:a7702932c97d532aec82e29778bc777a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a42fdc957d41a30db58e7345e73167f47"><td class="memItemLeft" align="right" valign="top">final JsonSerializer&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a42fdc957d41a30db58e7345e73167f47">serializer</a></td></tr>
<tr class="separator:a42fdc957d41a30db58e7345e73167f47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea5ae0725e3e694b7c1f13cf6f272834"><td class="memItemLeft" align="right" valign="top">final JsonDeserializer&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#aea5ae0725e3e694b7c1f13cf6f272834">deserializer</a></td></tr>
<tr class="separator:aea5ae0725e3e694b7c1f13cf6f272834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afced6d7fe053cb47c3f01a8bd6b39e00"><td class="memItemLeft" align="right" valign="top">final <a class="el" href="classcom_1_1google_1_1gson_1_1_gson.html">Gson</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#afced6d7fe053cb47c3f01a8bd6b39e00">gson</a></td></tr>
<tr class="separator:afced6d7fe053cb47c3f01a8bd6b39e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8596612f02ca5e00365af9c53c0af3d5"><td class="memItemLeft" align="right" valign="top">final TypeToken&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#a8596612f02ca5e00365af9c53c0af3d5">typeToken</a></td></tr>
<tr class="separator:a8596612f02ca5e00365af9c53c0af3d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad211cba2932f3eee8a9d5b04eddd6f80"><td class="memItemLeft" align="right" valign="top">final <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#ad211cba2932f3eee8a9d5b04eddd6f80">skipPast</a></td></tr>
<tr class="separator:ad211cba2932f3eee8a9d5b04eddd6f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af45875234ca3f04145a3a97d86da9ddf"><td class="memItemLeft" align="right" valign="top">TypeAdapter&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1google_1_1gson_1_1_tree_type_adapter_3_01_t_01_4.html#af45875234ca3f04145a3a97d86da9ddf">delegate</a></td></tr>
<tr class="separator:af45875234ca3f04145a3a97d86da9ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Adapts a <a class="el" href="classcom_1_1google_1_1gson_1_1_gson.html">Gson</a> 1.x tree-style adapter as a streaming TypeAdapter. Since the tree adapter may be serialization-only or deserialization-only, this class has a facility to lookup a delegate type adapter on demand. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="ab452517ce22ee3709c0cd418767988cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.google.gson.TreeTypeAdapter&lt; T &gt;.TreeTypeAdapter </td>
          <td>(</td>
          <td class="paramtype">JsonSerializer&lt; T &gt;&#160;</td>
          <td class="paramname"><em>serializer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">JsonDeserializer&lt; T &gt;&#160;</td>
          <td class="paramname"><em>deserializer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcom_1_1google_1_1gson_1_1_gson.html">Gson</a>&#160;</td>
          <td class="paramname"><em>gson</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TypeToken&lt; T &gt;&#160;</td>
          <td class="paramname"><em>typeToken</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a>&#160;</td>
          <td class="paramname"><em>skipPast</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a7702932c97d532aec82e29778bc777a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeAdapter&lt;T&gt; com.google.gson.TreeTypeAdapter&lt; T &gt;.delegate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6ef99b228bcfe95dbdf9d7ba5fb6c65b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a> com.google.gson.TreeTypeAdapter&lt; T &gt;.newFactory </td>
          <td>(</td>
          <td class="paramtype">TypeToken&lt;?&gt;&#160;</td>
          <td class="paramname"><em>exactType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>typeAdapter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a new factory that will match each type against</p><div class="fragment"><div class="line">exactType </div>
</div><!-- fragment --><p> . </p>

</div>
</div>
<a class="anchor" id="a7036cbc9f37d7c1a41e078693d42af25"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a> com.google.gson.TreeTypeAdapter&lt; T &gt;.newFactoryWithMatchRawType </td>
          <td>(</td>
          <td class="paramtype">TypeToken&lt;?&gt;&#160;</td>
          <td class="paramname"><em>exactType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>typeAdapter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a new factory that will match each type and its raw type against </p><div class="fragment"><div class="line">exactType </div>
</div><!-- fragment --><p> . </p>

</div>
</div>
<a class="anchor" id="a955ffdeaf902a27407fd545b98479ba2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a> com.google.gson.TreeTypeAdapter&lt; T &gt;.newTypeHierarchyFactory </td>
          <td>(</td>
          <td class="paramtype">Class&lt;?&gt;&#160;</td>
          <td class="paramname"><em>hierarchyType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>typeAdapter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a new factory that will match each type's raw type for assignability to</p><div class="fragment"><div class="line">hierarchyType </div>
</div><!-- fragment --><p> . </p>

</div>
</div>
<a class="anchor" id="ad653128568997696c1d4c53ee0122208"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T com.google.gson.TreeTypeAdapter&lt; T &gt;.read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_reader.html">JsonReader</a>&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td> throws IOException</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a02885df33eb7bbc6a6dcbbc5682e4490"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.google.gson.TreeTypeAdapter&lt; T &gt;.write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_writer.html">JsonWriter</a>&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws IOException</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="af45875234ca3f04145a3a97d86da9ddf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeAdapter&lt;T&gt; com.google.gson.TreeTypeAdapter&lt; T &gt;.delegate</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The delegate is lazily created because it may not be needed, and creating it may fail. </p>

</div>
</div>
<a class="anchor" id="aea5ae0725e3e694b7c1f13cf6f272834"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final JsonDeserializer&lt;T&gt; com.google.gson.TreeTypeAdapter&lt; T &gt;.deserializer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afced6d7fe053cb47c3f01a8bd6b39e00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final <a class="el" href="classcom_1_1google_1_1gson_1_1_gson.html">Gson</a> com.google.gson.TreeTypeAdapter&lt; T &gt;.gson</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a42fdc957d41a30db58e7345e73167f47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final JsonSerializer&lt;T&gt; com.google.gson.TreeTypeAdapter&lt; T &gt;.serializer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad211cba2932f3eee8a9d5b04eddd6f80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final <a class="el" href="interfacecom_1_1google_1_1gson_1_1_type_adapter_factory.html">TypeAdapterFactory</a> com.google.gson.TreeTypeAdapter&lt; T &gt;.skipPast</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8596612f02ca5e00365af9c53c0af3d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final TypeToken&lt;T&gt; com.google.gson.TreeTypeAdapter&lt; T &gt;.typeToken</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/google/gson/<a class="el" href="_tree_type_adapter_8java.html">TreeTypeAdapter.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:04 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
